package com.kanshu.basictest.model.menu;

import androidx.annotation.ColorRes;

/**
 * 菜单项
 */
public class MenuItem {

    //名称

    private String name;
    //颜色
    @ColorRes
    private int color;

    public String getName() {
        return name;
    }

    public int getColor() {
        return color;
    }


    public MenuItem(String name, @ColorRes int color) {
        this.name = name;
        this.color = color;
    }

    @Override
    public String toString() {
        return "MenuItem{" +
                "name=" + name +
                '}';
    }
}
